- 
		Home
	
 
	- 
MailPoet – Newsletters, Email Marketing, and Automation
 
- 
4.44.1
 
- 
Code
 
- 
Classes
 
-  Model 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											53 | 
										
																			
											| Dependencies | 
											7 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											364 | 
										
																			
											| Lines of code | 
											233 | 
										
																			
											| Logical lines of code | 
											139 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											88 | 
										
																			
											| Methods | 
											24 | 
										
																			
											| Properties | 
											3 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 24
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| _createOrUpdate() | 
									A  | 
																	49 | 
													12 | 
													28 | 
							
					
				| save() | 
									S  | 
																	49 | 
													5 | 
													31 | 
							
					
				| setError() | 
									S  | 
																	60 | 
													4 | 
													14 | 
							
					
				| bulkAction() | 
									S  | 
																	57 | 
													3 | 
													17 | 
							
					
				| duplicate() | 
									S  | 
																	58 | 
													2 | 
													15 | 
							
					
				| validate() | 
									S  | 
																	64 | 
													3 | 
													9 | 
							
					
				| create() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| getErrors() | 
									S  | 
																	68 | 
													2 | 
													8 | 
							
					
				| isNew() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| setTimestamp() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| __callStatic() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| __get() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| bulkTrash() | 
									S  | 
																	60 | 
													1 | 
													12 | 
							
					
				| bulkRestore() | 
									S  | 
																	60 | 
													1 | 
													12 | 
							
					
				| __construct() | 
									S  | 
																	71 | 
													1 | 
													6 | 
							
					
				| createOrUpdate() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| trash() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| bulkDelete() | 
									S  | 
																	66 | 
													1 | 
													8 | 
							
					
				| restore() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| getPublished() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| getTrashed() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| __set() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| __isset() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| deprecationError() | 
									S  | 
																	71 | 
													1 | 
													6 |